package com.rgs.platform.dto.bill;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

/**
 * @author Ren Gaoshuai
 * @ClassName SubmitBillRequestDTO
 * @date 2022-03-03 8:44
 **/
@ApiModel(description = "新增编辑账单请求")
@Data
public class SubmitBillRequestDTO {

    @ApiModelProperty(value = "账单id")
    private String id;

    @ApiModelProperty(value = "账金额单")
    @NotNull
    private Integer money;

    @ApiModelProperty(value = "收礼人")
    @NotBlank
    private String receiveName;

    @ApiModelProperty(value = "账单类型1结婚2生子3其他")
    @NotNull
    private Integer billType;

    @ApiModelProperty(value = "交易时间")
    private LocalDateTime businessTime;

    @ApiModelProperty(value = "备注信息")
    private String memo;
    @ApiModelProperty(value = "是否出席0未出席1出席")
    @NotNull
    private Integer isAttend;
}
